﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="DangKiThanhVien.ascx.cs" Inherits="Control_DangKiThanhVien" %>
<style type="text/css">
    .dangki1
    {
        width: 600px;
    }
    .dangki2
    {
        height: 36px;
    }
    .dangki1
    {
        width: 400px;
    }
    .dangki4
    {
        height: 36px;
        width: 400px;
    }
</style>

<table align="center" cellpadding="4" cellspacing="6" class="dangki1" 
    border="2px">
    <tr>
        <td align="center" bgcolor="#0000CC" colspan="2">
            <asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Size="X-Large" 
                ForeColor="White" Text="Đăng Kí Thành Viên "></asp:Label>
        </td>
    </tr>
    <tr>
        <td width="200px">
            <asp:Label ID="Label2" runat="server" Text="Tên Đăng Nhập: "></asp:Label>
        </td>
        <td class="dangki1">
            <asp:TextBox ID="txtTenDNDK" runat="server" Width="200px"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td width="200px">
            <asp:Label ID="Label3" runat="server" Text="Mật Khẩu: "></asp:Label>
        </td>
        <td class="dangki1">
            <asp:TextBox ID="txtMKDK" runat="server" TextMode="Password" Width="200px"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td class="dangki2" width="200px">
            <asp:Label ID="Label4" runat="server" Text="Nhập Lại Mật Khẩu: "></asp:Label>
        </td>
        <td class="dangki4">
            <asp:TextBox ID="txtNLMKDK" runat="server" TextMode="Password" Width="200px"></asp:TextBox>
            <asp:CompareValidator ID="CompareValidator1" runat="server" 
                ControlToCompare="txtMKDK" ControlToValidate="txtNLMKDK" ErrorMessage="*"></asp:CompareValidator>
        </td>
    </tr>
    <tr>
        <td class="dangki2" width="200px">
            <asp:Label ID="Label5" runat="server" Text="Họ Tên:"></asp:Label>
        </td>
        <td class="dangki4">
            <asp:TextBox ID="txtHoTen" runat="server" Width="200px"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td width="200px">
            <asp:Label ID="Label6" runat="server" Text="Email: "></asp:Label>
        </td>
        <td class="dangki1">
            <asp:TextBox ID="txtEmail" runat="server" Width="200px"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td width="200px">
            <asp:Label ID="Label7" runat="server" Text="Điện Thoại: "></asp:Label>
        </td>
        <td class="dangki1">
            <asp:TextBox ID="txtDienThoai" runat="server" Width="200px"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td width="200px">
            <asp:Label ID="Label8" runat="server" Text="Địa Chỉ: "></asp:Label>
        </td>
        <td class="dangki1">
            <asp:TextBox ID="txtDiaChi" runat="server" Width="200px"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td align="center" colspan="2">
            <asp:Button ID="btnDangKi" runat="server" Font-Bold="True" Text="ĐĂNG KÍ" 
                onclick="btnDangKi_Click" />
        </td>
    </tr>
</table>

